<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
<!-- qaccessible.cpp -->
  <title>QAccessibleTableInterface Class | Qt GUI 5.14.2</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="../qtdoc/index.html">Qt 5.14</a></td><td ><a href="qtgui-index.html">Qt GUI</a></td><td ><a href="qtgui-module.html">C++ Classes</a></td><td >QAccessibleTableInterface</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtgui-index.html">Qt 5.14.2 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QAccessibleTableInterface Class</h1>
<!-- $$$QAccessibleTableInterface-brief -->
<p>The QAccessibleTableInterface class implements support for the IAccessibleTable2 interface. <a href="#details">More...</a></p>
<!-- @@@QAccessibleTableInterface -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QAccessibleTableInterface&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += gui</td></tr></table></div><ul>
<li><a href="qaccessibletableinterface-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#dtor.QAccessibleTableInterface">~QAccessibleTableInterface</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QAccessibleInterface *</td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#caption">caption</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QAccessibleInterface *</td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#cellAt">cellAt</a></b>(int <i>row</i>, int <i>column</i>) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual int </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#columnCount">columnCount</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QString </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#columnDescription">columnDescription</a></b>(int <i>column</i>) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#isColumnSelected">isColumnSelected</a></b>(int <i>column</i>) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#isRowSelected">isRowSelected</a></b>(int <i>row</i>) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#modelChange">modelChange</a></b>(QAccessibleTableModelChangeEvent *<i>event</i>) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual int </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#rowCount">rowCount</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QString </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#rowDescription">rowDescription</a></b>(int <i>row</i>) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#selectColumn">selectColumn</a></b>(int <i>column</i>) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#selectRow">selectRow</a></b>(int <i>row</i>) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual int </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#selectedCellCount">selectedCellCount</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QList&lt;QAccessibleInterface *&gt; </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#selectedCells">selectedCells</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual int </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#selectedColumnCount">selectedColumnCount</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QList&lt;int&gt; </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#selectedColumns">selectedColumns</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual int </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#selectedRowCount">selectedRowCount</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QList&lt;int&gt; </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#selectedRows">selectedRows</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QAccessibleInterface *</td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#summary">summary</a></b>() const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#unselectColumn">unselectColumn</a></b>(int <i>column</i>) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qaccessibletableinterface.html#unselectRow">unselectRow</a></b>(int <i>row</i>) = 0</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QAccessibleTableInterface-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p><a href="http://www.linux-foundation.org/en/Accessibility/IAccessible2">IAccessible2 Specification</a></p>
</div>
<!-- @@@QAccessibleTableInterface -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$~QAccessibleTableInterface[overload1]$$$~QAccessibleTableInterface -->
<h3 class="fn" id="dtor.QAccessibleTableInterface"><a name="dtor.QAccessibleTableInterface"></a><code>[virtual] </code>QAccessibleTableInterface::<span class="name">~QAccessibleTableInterface</span>()</h3>
<p>Destroys the <a href="qaccessibletableinterface.html">QAccessibleTableInterface</a>.</p>
<!-- @@@~QAccessibleTableInterface -->
<!-- $$$caption[overload1]$$$caption -->
<h3 class="fn" id="caption"><a name="caption"></a><code>[pure virtual] </code><span class="type"><a href="qaccessibleinterface.html">QAccessibleInterface</a></span> *QAccessibleTableInterface::<span class="name">caption</span>() const</h3>
<p>Returns the caption for the table.</p>
<!-- @@@caption -->
<!-- $$$cellAt[overload1]$$$cellAtintint -->
<h3 class="fn" id="cellAt"><a name="cellAt"></a><code>[pure virtual] </code><span class="type"><a href="qaccessibleinterface.html">QAccessibleInterface</a></span> *QAccessibleTableInterface::<span class="name">cellAt</span>(<span class="type">int</span> <i>row</i>, <span class="type">int</span> <i>column</i>) const</h3>
<p>Returns the cell at the specified <i>row</i> and <i>column</i> in the table.</p>
<!-- @@@cellAt -->
<!-- $$$columnCount[overload1]$$$columnCount -->
<h3 class="fn" id="columnCount"><a name="columnCount"></a><code>[pure virtual] </code><span class="type">int</span> QAccessibleTableInterface::<span class="name">columnCount</span>() const</h3>
<p>Returns the total number of columns in table.</p>
<!-- @@@columnCount -->
<!-- $$$columnDescription[overload1]$$$columnDescriptionint -->
<h3 class="fn" id="columnDescription"><a name="columnDescription"></a><code>[pure virtual] </code><span class="type"><a href="../qtcore/qstring.html">QString</a></span> QAccessibleTableInterface::<span class="name">columnDescription</span>(<span class="type">int</span> <i>column</i>) const</h3>
<p>Returns the description text of the specified <i>column</i> in the table.</p>
<!-- @@@columnDescription -->
<!-- $$$isColumnSelected[overload1]$$$isColumnSelectedint -->
<h3 class="fn" id="isColumnSelected"><a name="isColumnSelected"></a><code>[pure virtual] </code><span class="type">bool</span> QAccessibleTableInterface::<span class="name">isColumnSelected</span>(<span class="type">int</span> <i>column</i>) const</h3>
<p>Returns a boolean value indicating whether the specified <i>column</i> is completely selected.</p>
<!-- @@@isColumnSelected -->
<!-- $$$isRowSelected[overload1]$$$isRowSelectedint -->
<h3 class="fn" id="isRowSelected"><a name="isRowSelected"></a><code>[pure virtual] </code><span class="type">bool</span> QAccessibleTableInterface::<span class="name">isRowSelected</span>(<span class="type">int</span> <i>row</i>) const</h3>
<p>Returns a boolean value indicating whether the specified <i>row</i> is completely selected.</p>
<!-- @@@isRowSelected -->
<!-- $$$modelChange[overload1]$$$modelChangeQAccessibleTableModelChangeEvent* -->
<h3 class="fn" id="modelChange"><a name="modelChange"></a><code>[pure virtual] </code><span class="type">void</span> QAccessibleTableInterface::<span class="name">modelChange</span>(<span class="type"><a href="qaccessibletablemodelchangeevent.html">QAccessibleTableModelChangeEvent</a></span> *<i>event</i>)</h3>
<p>Informs about a change in the model's layout. The <i>event</i> contains the details.</p>
<p><b>See also </b><a href="qaccessibletablemodelchangeevent.html">QAccessibleTableModelChangeEvent</a>.</p>
<!-- @@@modelChange -->
<!-- $$$rowCount[overload1]$$$rowCount -->
<h3 class="fn" id="rowCount"><a name="rowCount"></a><code>[pure virtual] </code><span class="type">int</span> QAccessibleTableInterface::<span class="name">rowCount</span>() const</h3>
<p>Returns the total number of rows in table.</p>
<!-- @@@rowCount -->
<!-- $$$rowDescription[overload1]$$$rowDescriptionint -->
<h3 class="fn" id="rowDescription"><a name="rowDescription"></a><code>[pure virtual] </code><span class="type"><a href="../qtcore/qstring.html">QString</a></span> QAccessibleTableInterface::<span class="name">rowDescription</span>(<span class="type">int</span> <i>row</i>) const</h3>
<p>Returns the description text of the specified <i>row</i> in the table.</p>
<!-- @@@rowDescription -->
<!-- $$$selectColumn[overload1]$$$selectColumnint -->
<h3 class="fn" id="selectColumn"><a name="selectColumn"></a><code>[pure virtual] </code><span class="type">bool</span> QAccessibleTableInterface::<span class="name">selectColumn</span>(<span class="type">int</span> <i>column</i>)</h3>
<p>Selects <i>column</i>. This function might unselect all previously selected columns. Returns <code>true</code> if the selection was successful.</p>
<!-- @@@selectColumn -->
<!-- $$$selectRow[overload1]$$$selectRowint -->
<h3 class="fn" id="selectRow"><a name="selectRow"></a><code>[pure virtual] </code><span class="type">bool</span> QAccessibleTableInterface::<span class="name">selectRow</span>(<span class="type">int</span> <i>row</i>)</h3>
<p>Selects <i>row</i>. This function might unselect all previously selected rows. Returns <code>true</code> if the selection was successful.</p>
<!-- @@@selectRow -->
<!-- $$$selectedCellCount[overload1]$$$selectedCellCount -->
<h3 class="fn" id="selectedCellCount"><a name="selectedCellCount"></a><code>[pure virtual] </code><span class="type">int</span> QAccessibleTableInterface::<span class="name">selectedCellCount</span>() const</h3>
<p>Returns the total number of selected cells.</p>
<!-- @@@selectedCellCount -->
<!-- $$$selectedCells[overload1]$$$selectedCells -->
<h3 class="fn" id="selectedCells"><a name="selectedCells"></a><code>[pure virtual] </code><span class="type">QList</span>&lt;<span class="type"><a href="qaccessibleinterface.html">QAccessibleInterface</a></span> *&gt; QAccessibleTableInterface::<span class="name">selectedCells</span>() const</h3>
<p>Returns the list of selected cell (by their index as <a href="qaccessibleinterface.html#child">QAccessibleInterface::child</a>() accepts).</p>
<!-- @@@selectedCells -->
<!-- $$$selectedColumnCount[overload1]$$$selectedColumnCount -->
<h3 class="fn" id="selectedColumnCount"><a name="selectedColumnCount"></a><code>[pure virtual] </code><span class="type">int</span> QAccessibleTableInterface::<span class="name">selectedColumnCount</span>() const</h3>
<p>Returns the total number of selected columns.</p>
<!-- @@@selectedColumnCount -->
<!-- $$$selectedColumns[overload1]$$$selectedColumns -->
<h3 class="fn" id="selectedColumns"><a name="selectedColumns"></a><code>[pure virtual] </code><span class="type">QList</span>&lt;<span class="type">int</span>&gt; QAccessibleTableInterface::<span class="name">selectedColumns</span>() const</h3>
<p>Returns the list of currently selected columns.</p>
<!-- @@@selectedColumns -->
<!-- $$$selectedRowCount[overload1]$$$selectedRowCount -->
<h3 class="fn" id="selectedRowCount"><a name="selectedRowCount"></a><code>[pure virtual] </code><span class="type">int</span> QAccessibleTableInterface::<span class="name">selectedRowCount</span>() const</h3>
<p>Returns the total number of selected rows.</p>
<!-- @@@selectedRowCount -->
<!-- $$$selectedRows[overload1]$$$selectedRows -->
<h3 class="fn" id="selectedRows"><a name="selectedRows"></a><code>[pure virtual] </code><span class="type">QList</span>&lt;<span class="type">int</span>&gt; QAccessibleTableInterface::<span class="name">selectedRows</span>() const</h3>
<p>Returns the list of currently selected columns.</p>
<!-- @@@selectedRows -->
<!-- $$$summary[overload1]$$$summary -->
<h3 class="fn" id="summary"><a name="summary"></a><code>[pure virtual] </code><span class="type"><a href="qaccessibleinterface.html">QAccessibleInterface</a></span> *QAccessibleTableInterface::<span class="name">summary</span>() const</h3>
<p>Returns a <a href="qaccessibleinterface.html">QAccessibleInterface</a> that represents a summary of the table. This function may return 0 if no such interface exists.</p>
<!-- @@@summary -->
<!-- $$$unselectColumn[overload1]$$$unselectColumnint -->
<h3 class="fn" id="unselectColumn"><a name="unselectColumn"></a><code>[pure virtual] </code><span class="type">bool</span> QAccessibleTableInterface::<span class="name">unselectColumn</span>(<span class="type">int</span> <i>column</i>)</h3>
<p>Unselects <i>column</i>, leaving other selected columns selected (if any). Returns <code>true</code> if the selection was successful.</p>
<!-- @@@unselectColumn -->
<!-- $$$unselectRow[overload1]$$$unselectRowint -->
<h3 class="fn" id="unselectRow"><a name="unselectRow"></a><code>[pure virtual] </code><span class="type">bool</span> QAccessibleTableInterface::<span class="name">unselectRow</span>(<span class="type">int</span> <i>row</i>)</h3>
<p>Unselects <i>row</i>, leaving other selected rows selected (if any). Returns <code>true</code> if the selection was successful.</p>
<!-- @@@unselectRow -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2020 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
